package com.sdu.game.wbr.role_script;

/**
 * 玩家 父类
 */
public class Player {

    /** 玩家账号 */
    public String playerID;
    /** 玩家角色 */
    public Charactor charactor;
    /** 是否活着 */
    public boolean alive = true;

    public Player(String id){
        playerID = id;
        alive = true;
    }



    public Player(String id, Charactor c){
        playerID = id;
        charactor = c;
        alive = true;
    }

    public void setCharactor(Charactor c){
        charactor = c;
    }



}
